import Layout from '@/layout'

const router = {
    path: '',
    component: () =>
        import ('@/views/projectManagement/index'),
    redirect: 'noRedirect',
    meta: {
        title: '项目创建',
        roles: ['国土综合整治-项目创建']
    },
    children: [{
            path: 'districtProject/edit',
            name: '区县级综合整治项目',
            component: () =>
                import ('@/views/projectManagement/districtProject/edit'),
            meta: {
                menusMode: 0,
                title: '区县级综合整治项目',
                roles: ['国土综合整治-项目创建-区县级综合整治项目']
            },
        },
        {
            path: 'municipalProject/edit',
            name: '市级综合整治项目',
            component: () =>
                import ('@/views/projectManagement/municipalProject/edit'),
            meta: {
                menusMode: 0,
                title: '市级综合整治项目',
                roles: ['国土综合整治-项目创建-市级综合整治项目']
            }
        },

        // {
        //     path: 'projectInformation',
        //     name: '项目信息',
        //     component: () =>
        //         import ('@/views/projectManagement/projectInformation/detail'),
        //     meta: {
        //         title: '项目信息',
        //         icon: 'item'
        //     }
        // },


        // {
        //     path: 'preliminaryExamination',
        //     name: '区县期测绘成果初审',
        //     component: () =>
        //         import ('@/views/projectManagement/feasiblePlan/mappingResults/preliminaryExamination'),
        //     meta: {
        //         title: '区县期测绘成果初审',
        //         icon: 'item'
        //     }
        // },
        // {
        //     path: 'process',
        //     name: '审查流程',
        //     component: () =>
        //         import ('@/views/projectManagement/public/process'),
        //     meta: {
        //         title: '审查流程',
        //         icon: 'item'
        //     }
        // },
        // {
        //     path: 'unitSelection',
        //     name: '前期测绘单位选取',
        //     component: () =>
        //         import ('@/views/projectManagement/earlyMapping/unitSelection'),
        //     meta: {
        //         title: '前期测绘单位选取',
        //         icon: 'item'
        //     }
        // },
        // {
        //     path: 'unitInput',
        //     name: '前期测绘单位录入',
        //     component: () =>
        //         import ('@/views/projectManagement/earlyMapping/unitInput'),
        //     meta: {
        //         title: '前期测绘单位录入',
        //         icon: 'item'
        //     }
        // }
    ]
}
export default router